<p>
  <b>Employee:</b>
  <%=h @leave.employee_id %>
</p>

<p>
  <b>Start date:</b>
  <%=h @leave.start_date %>
</p>

<p>
  <b>End date:</b>
  <%=h @leave.end_date %>
</p>

<p>
  <b>Type of leave:</b>
  <%=h @leave.type_of_leave_id %>
</p>


<%= link_to 'Edit', edit_leave_path(@leave) %> |
<%= link_to 'Back', leaves_path %>